package com.hezy.base.ui;

import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v4.app.Fragment;
import android.view.View;
import android.widget.Toolbar;

import com.hezy.base.R;

public abstract class BaseListViewActivity extends BaseFragmentActivity {
    @Override
    protected int layoutId() {
        return R.layout.base_title_activity;
    }

    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        Toolbar toolbar = findViewById(R.id.toolbar);
        initToolbar(toolbar);
    }

    protected void initToolbar(Toolbar toolbar) {
        toolbar.setFitsSystemWindows(true);
    }

}
